<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1 , user-scalable=no" />
  <title>作品展示</title>
  <link rel="stylesheet" href="./css/bootstrap.min.css" />
  <link rel="stylesheet" href="./css/product.min.css">
</head>

<body>
  <header></header>

  <section id="product">
    <div class="container">
      <a href="javascript:void(0)">
        <img src="./imgs/product/p01.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p02.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p03.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p04.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p05.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p06.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p01.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p02.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p03.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p04.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p05.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p06.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p01.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p02.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p03.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p04.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p05.jpg" alt="">
      </a>
      <a href="javascript:void(0)">
        <img src="./imgs/product/p06.jpg" alt="">
      </a>
    </div>
  </section>


  <div class="modal fade" id="myModal" aria-hidden="true">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-body">
          <button type="button" class="close" data-dismiss="modal">&times;</button>
          <img src="#" alt="">
        </div>
      </div>
    </div>
  </div>

  <!--footer-->
  <footer></footer>
  <!--footer-->
<script src="./js/jquery.min.js"></script>
<script src="./js/bootstrap.min.js"></script>
<script src="./js/headerAndFooter.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/masonry.pkgd.min.js"></script>
<script>
  var msnry = new Masonry('.container', {
    itemSelector: '.container img'
  });
  $("#product img").click(function() {
  	let imgsrc = $(this).attr("src");
	$("#myModal").modal("show").find("img").attr("src",imgsrc);
  })
</script>
</body>

</html>